package com.medusa.aps.business.modules.security.model.output;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class RoleMenuVO {

    /**
     * 菜单id
     */
    @Schema(description = "菜单id")
    private Integer id;


    /**
     * 父id
     */
    @Schema(description = "父id")
    private Integer parentId;

    /**
     * 菜单名称
     */
    @Schema(description = "菜单名称")
    private String title;

    /**
     * 子菜单
     */
    @Schema(description = "子菜单")
    private List<RoleMenuVO> children;

}
